projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826360a
)
win32: Move variable declarations into #if block
author
Benjamin Otte
<otte@redhat.com>
Sat, 7 Apr 2012 10:55:30 +0000
(12:55 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 7 Apr 2012 11:01:24 +0000
(13:01 +0200)
gtk/gtkwin32theme.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwin32theme.c
b/gtk/gtkwin32theme.c
index 87bcff52c90e7c03e5ee832efdeb40c1c0b748cf..0f385f9b9d866a056b9b3f9f33dac0841a120d11 100644
(file)
--- a/
gtk/gtkwin32theme.c
+++ b/
gtk/gtkwin32theme.c
@@
-215,7
+215,6
@@
_gtk_win32_theme_part_create_surface (HTHEME theme,
cairo_t *cr;
int x_offs;
int y_offs;
- int i, j;
#ifdef G_OS_WIN32
gboolean has_alpha;
HDC hdc;
@@
-274,6
+273,7
@@
_gtk_win32_theme_part_create_surface (HTHEME theme,
{
cairo_surface_t *img = cairo_win32_surface_get_image (surface);
guint32 *data = (guint32 *)cairo_image_surface_get_data (img);
+ int i, j;
GdiFlush ();
for (i = 0; i < width; i++)